import React from 'react';
import styled from '@emotion/styled';

function Demo () {
  return <div>demo</div>
}

const Fancy = styled(Demo)`
  color:red;
`

const Fancy2 = styled(Demo)({
  background: 'tomato',
  color: 'white'
})

function App () {
  return <div>App wokks

    <Fancy />
    <Fancy2 />
  </div>
}

export default App;